/* --- CSS VARIABLES & RESET --- */
:root {
    /* Warna diambil berdasarkan psikologi warna Zakat (Hijau) & Harta (Emas) */
    --primary-color: #047857; /* Emerald Green */
    --secondary-color: #fbbf24; /* Gold */
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NAVBAR --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links li a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.btn-login {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-login:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5% 0; /* Padding top dikasih ruang untuk navbar fixed */
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.hero-text {
    flex: 1;
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.hero-text span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(4, 120, 87, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(4, 120, 87, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 20px 20px 0px rgba(4, 120, 87, 0.1);
}

/* --- FEATURES SECTION --- */
.features {
    padding: 5rem 5%;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #d1fae5;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #4b5563;
    line-height: 1.5;
}

/* --- FOOTER --- */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        height: auto;
        padding-bottom: 3rem;
        padding-top: 100px;
    }
    .hero-text {
        padding-right: 0;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-img {
        margin-bottom: 2rem;
    }
}